package com.xb.system.config;


import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.context.annotation.Configuration;

import java.util.List;

@Configuration
@ConfigurationProperties(prefix = "file.data")
public class DataConfig {

    private int phoneIndex;
    private int nameIndex;
    private List<Integer> extraPhoneIndexes;

    public int getPhoneIndex() {
        return phoneIndex;
    }

    public void setPhoneIndex(int phoneIndex) {
        this.phoneIndex = phoneIndex;
    }

    public int getNameIndex() {
        return nameIndex;
    }

    public void setNameIndex(int nameIndex) {
        this.nameIndex = nameIndex;
    }

    public List<Integer> getExtraPhoneIndexes() {
        return extraPhoneIndexes;
    }

    public void setExtraPhoneIndexes(List<Integer> extraPhoneIndexes) {
        this.extraPhoneIndexes = extraPhoneIndexes;
    }
}